package left42dead;

/**
 * MadZombie class, derives from Zombie
 * Not incorporate into the simulator because of little interest
 */
public class MadZombie extends Zombie
{
    /**
     * Constructor of MadZombie class.
     * @param healthPoints initial HP
     * @param field Field where he's located
     * @param location The location in the field where he's located
     */
    public MadZombie (int healthPoints, Field field, Location location)
    {
        super(healthPoints, field, location);
    }

    /**
     * Method called when a MadZombie attack another character the character
     * attacked loose 25 HP
     * @param c character attacked by the mad zombie
     */
    public void attack (Character c)
    {
        c.reduceHealthPoints(25);
    }
}
